from core.basic.skill import 技能
from core.basic.character import Character
from core.basic.skill import 主动技能, 被动技能


class 技能0(被动技能):  # 基础精通
    名称 = '基础精通'
    倍率 = 1.0
    所在等级 = 1
    等级上限 = 200
    学习间隔 = 1
    等级精通 = 110

    关联技能 = ['霸王戟']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(self.倍率 * (0.463 + 0.089 * self.等级), 5)


# 霸王戟和战戟猛攻用的都是霸王戟的按键，接在平x后面就是霸王戟，接在技能后面就是战戟猛攻
# 霸王戟TP是基础精通，和战戟猛攻TP不一样
class 技能1(主动技能):
    名称 = '霸王戟'
    所在等级 = 15
    等级上限 = 1
    学习间隔 = 2
    等级精通 = 1
    MP = [3, 35]
    # 接平x第一下
    data0 = [(i*1.091) for i in [0, 289.33]]
    hit0 = 1
    # 接平x第二下
    data1 = [(i*1.091) for i in [0, 399.60]]
    hit1 = 0
    # 接平x第三下
    data2 = [(i*1.091) for i in [0, 429.59]]
    hit2 = 0
    CD = 0.5
    TP成长 = 0.10
    TP上限 = 5

    形态 = ['下斩', '横斩', '强横']

    def 形态变更(self, 形态, char):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "下斩":
            self.hit0 = 1
            self.hit1 = 0
            self.hit2 = 0
        if 形态 == "横斩":
            self.hit0 = 0
            self.hit1 = 1
            self.hit2 = 0
        if 形态 == "强横":
            self.hit0 = 0
            self.hit1 = 0
            self.hit2 = 1


class 技能2(被动技能):
    名称 = '战戟精通'
    所在等级 = 15
    等级上限 = 20
    基础等级 = 10

    def 物理攻击力倍率进图(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.1 + 0.02 * self.等级, 5)


class 技能3(主动技能):
    名称 = "破军突击"
    所在等级 = 20
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 5
    MP = [12, 200]
    无色消耗 = 0
    data0 = [0, 227, 249, 276, 297, 320, 343, 368, 391, 412, 438, 460, 485, 505, 530, 553, 578, 598, 622, 647, 670, 694, 715, 739, 763, 787, 809, 832, 856, 879, 902, 925, 950, 972, 994, 1018, 1041, 1065,
             1087, 1112, 1135, 1159, 1180, 1203, 1227, 1250, 1274, 1296, 1321, 1344, 1368, 1390, 1412, 1436, 1459, 1483, 1506, 1530, 1553, 1575, 1599, 1622, 1647, 1668, 1692, 1715, 1739, 1761, 1784, 1808, 1832]
    hit0 = 3
    data1 = [0, 3894, 4290, 4685, 5080, 5474, 5870, 6263, 6660, 7055, 7450, 7844, 8242, 8636, 9031, 9425, 9823, 10217, 10612, 11007, 11404, 11798, 12191, 12587, 12982, 13377, 13773, 14168, 14563, 14959, 15354, 15749, 16144, 16540, 16935, 17331,
             17725, 18120, 18514, 18908, 19306, 19700, 20095, 20490, 20887, 21281, 21677, 22071, 22468, 22862, 23258, 23651, 24047, 24443, 24838, 25233, 25627, 26023, 26418, 26814, 27209, 27604, 27999, 28396, 28789, 29184, 29578, 29976, 30370, 30765, 31160]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 7

    def TP加成(self):
        return 1 + (self.TP等级-1) * self.TP成长

    def 等效百分比(self, **argv):
        if self.TP等级 > 0:
            self.hit0 = 5  # TP1时加段数
        else:
            self.hit0 = 3
        return super().等效百分比(**argv)


class 技能4(主动技能):
    名称 = "追魂斩"
    所在等级 = 25
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 6
    MP = [15, 300]
    无色消耗 = 0
    data0 = [0, 2702, 2978, 3253, 3527, 3802, 4076, 4349, 4624, 4899, 5173, 5447, 5723, 5996, 6270, 6545, 6819, 7095, 7370, 7643, 7917, 8193, 8467, 8741, 9016, 9288, 9563, 9837, 10112, 10386, 10660, 10933, 11210, 11484, 11759, 12034, 12308,
             12583, 12856, 13130, 13406, 13680, 13954, 14227, 14502, 14777, 15051, 15327, 15602, 15877, 16150, 16423, 16697, 16974, 17247, 17521, 17794, 18069, 18344, 18618, 18893, 19167, 19444, 19717, 19991, 20265, 20540, 20815, 21088, 21363, 21637]
    hit0 = 2
    TP成长 = 0.1
    TP上限 = 7


class 技能5(主动技能):
    名称 = '战戟猛攻'
    是否主动 = 0
    所在等级 = 25
    等级上限 = 30
    学习间隔 = 2
    等级精通 = 20

    data0 = [0, 3954, 4432, 4910, 5389, 5866, 6345, 6823, 7302, 7779, 8258, 8735, 9214, 9692, 10170, 10649,
             11127, 11605, 12082, 12561, 13038, 13517, 13996, 14474, 14952, 15429, 15908, 16386, 16864, 17342, 17821]

    hit0 = 1
    CD = 1  # 实际无冷却
    TP成长 = 0.10
    TP上限 = 7

    def 物理攻击力倍率进图(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        elif self.等级 <= 20:
            return round(1 + 0.005 * self.等级, 5)
        else:
            return round(1.1 + 0.02 * (self.等级 - 20), 5)


class 技能6(主动技能):
    名称 = "落月斩"
    所在等级 = 30
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 7
    MP = [30, 350]
    无色消耗 = 0
    data0 = [0, 7441, 8196, 8950, 9707, 10461, 11216, 11971, 12728, 13481, 14238, 14993, 15748, 16501, 17259, 18013, 18768, 19522, 20279, 21033, 21788, 22543, 23299, 24053, 24809, 25564, 26319, 27073, 27830, 28584, 29339, 30094, 30850, 31604, 32359, 33114,
             33870, 34624, 35380, 36134, 36890, 37644, 38400, 39155, 39910, 40665, 41421, 42175, 42930, 43685, 44441, 45195, 45951, 46705, 47461, 48215, 48971, 49726, 50481, 51236, 51993, 52747, 53502, 54257, 55013, 55767, 56523, 57277, 58033, 58787, 59543]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 7


class 技能7(主动技能):
    名称 = "冷血突刺"
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 16
    MP = [100, 920]
    无色消耗 = 1
    data0 = [0, 8790, 9682, 10575, 11466, 12358, 13249, 14143, 15034, 15925, 16817, 17710, 18602, 19493, 20385, 21279, 22169, 23060, 23953, 24846, 25737, 26627, 27522, 28414, 29305, 30198, 31088, 31980, 32872, 33764, 34656, 35548, 36439, 37332, 38223,
             39116, 40008, 40899, 41791, 42683, 43576, 44467, 45358, 46251, 47143, 48035, 48926, 49817, 50711, 51602, 52493, 53388, 54278, 55170, 56061, 56956, 57847, 58737, 59628, 60523, 61415, 62306, 63198, 64091, 64982, 65872, 66765, 67658, 68549, 69440, 70332]
    hit0 = 1
    data1 = [0, 974, 1075, 1173, 1272, 1371, 1471, 1569, 1669, 1767, 1866, 1966, 2064, 2165, 2263, 2362, 2463, 2559, 2659, 2761, 2858, 2957, 3058, 3155, 3257, 3354, 3452, 3553, 3650, 3750, 3849, 3948, 4047, 4147, 4245,
             4347, 4444, 4542, 4642, 4740, 4840, 4939, 5038, 5136, 5236, 5335, 5434, 5534, 5632, 5732, 5830, 5928, 6031, 6127, 6226, 6328, 6427, 6526, 6626, 6723, 6824, 6922, 7019, 7121, 7219, 7317, 7418, 7516, 7616, 7716, 7813]
    hit1 = 6
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1.29


class 技能8(主动技能):
    名称 = "破灭斩"
    所在等级 = 35
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 14
    MP = [60, 850]
    无色消耗 = 1
    data0 = [0, 12209, 13449, 14687, 15928, 17167, 18406, 19644, 20883, 22121, 23360, 24600, 25839, 27079, 28316, 29556, 30793, 32033, 33271, 34511, 35752, 36988, 38228, 39466, 40705, 41943, 43182, 44421, 45660, 46900, 48137, 49378, 50615, 51855, 53094,
             54333, 55572, 56811, 58050, 59287, 60528, 61766, 63006, 64244, 65484, 66720, 67960, 69199, 70438, 71678, 72917, 74156, 75393, 76632, 77871, 79110, 80350, 81590, 82829, 84066, 85305, 86543, 87783, 89022, 90261, 91502, 92739, 93979, 95216, 96456, 97693]
    hit0 = 1
    TP成长 = 0.1
    TP上限 = 5


class 技能9(主动技能):
    名称 = "夺命乱舞"
    所在等级 = 40
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 18
    MP = [150, 1260]
    无色消耗 = 1
    data0 = [0, 1019, 1123, 1228, 1330, 1434, 1535, 1640, 1744, 1848, 1951, 2054, 2158, 2261, 2365, 2469, 2571, 2676, 2780, 2883, 2986, 3088, 3192, 3295, 3399, 3504, 3607, 3711, 3814, 3917, 4022, 4124, 4227, 4332, 4435,
             4539, 4642, 4746, 4849, 4953, 5056, 5159, 5264, 5368, 5471, 5574, 5676, 5780, 5883, 5987, 6092, 6195, 6298, 6402, 6505, 6609, 6712, 6816, 6922, 7023, 7127, 7230, 7334, 7437, 7541, 7644, 7749, 7852, 7956, 8059, 8163]
    hit0 = 12
    data1 = [0, 5245, 5778, 6312, 6843, 7377, 7908, 8441, 8975, 9504, 10038, 10572, 11102, 11636, 12168, 12700, 13233, 13763, 14296, 14829, 15361, 15894, 16426, 16960, 17492, 18024, 18557, 19088, 19620, 20154, 20684, 21218, 21752, 22282, 22816, 23345,
             23879, 24413, 24943, 25477, 26011, 26542, 27075, 27606, 28140, 28671, 29203, 29737, 30268, 30801, 31334, 31865, 32399, 32932, 33462, 33995, 34526, 35059, 35593, 36125, 36657, 37191, 37722, 38256, 38786, 39319, 39852, 40383, 40917, 41451, 41981]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    def 装备护石(self, char):
        self.hit0 = 4
        self.power0 = 3
        self.power1 = 2.2


class 技能10(主动技能):
    名称 = "横扫八荒"
    所在等级 = 45
    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    CD = 40
    MP = [222, 2225]
    无色消耗 = 2
    data0 = [0, 2262, 2491, 2720, 2950, 3179, 3408, 3637, 3868, 4098, 4326, 4556, 4786, 5014, 5246, 5475, 5704, 5933, 6162, 6392, 6622, 6850, 7081, 7310, 7540, 7769, 7998, 8230, 8459, 8687, 8916, 9147, 9376, 9605, 9833, 10066, 10295, 10523,
             10752, 10983, 11212, 11441, 11670, 11902, 12130, 12359, 12588, 12820, 13049, 13278, 13507, 13738, 13966, 14195, 14426, 14655, 14885, 15113, 15343, 15572, 15803, 16032, 16262, 16490, 16721, 16949, 17179, 17408, 17639, 17868, 18098]
    hit0 = 9
    data1 = [0, 11957, 13169, 14383, 15596, 16809, 18023, 19237, 20450, 21662, 22876, 24089, 25302, 26514, 27727, 28940, 30154, 31366, 32581, 33793, 35006, 36219, 37433, 38647, 39859, 41073, 42286, 43498, 44713, 45927, 47138, 48350, 49564, 50776, 51990,
             53205, 54417, 55630, 56843, 58057, 59269, 60483, 61697, 62909, 64122, 65336, 66551, 67762, 68976, 70190, 71400, 72614, 73827, 75040, 76253, 77467, 78678, 79893, 81107, 82318, 83533, 84746, 85960, 87172, 88386, 89599, 90811, 92025, 93239, 94449, 95664]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    def 装备护石(self, char):
        self.hit0 = 18
        self.power0 = 0.5
        self.power1 = 1.44*1.33


class 技能11(被动技能):
    名称 = '战戟之魂'
    所在等级 = 48
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.025 + 0.02 * self.等级, 5)


class 技能12(主动技能):
    名称 = "千魂弑"
    所在等级 = 50
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 145
    MP = [980, 8232]
    无色消耗 = 5
    data0 = [0, 17870, 22013, 26157, 30301, 34445, 38590, 42734, 46878, 51019, 55164, 59309, 63452, 67597, 71741, 75884, 80028, 84172, 88316, 92461, 96605, 100749, 104893, 109035, 113180, 117324, 121468,
             125612, 129756, 133899, 138044, 142188, 146332, 150477, 154620, 158764, 162906, 167051, 171195, 175339, 179483, 183628, 187770, 191915, 196059, 200203, 204348, 208492, 212637, 216780, 220924]
    hit0 = 1
    data1 = [0, 71481, 88057, 104634, 121209, 137785, 154360, 170939, 187513, 204090, 220665, 237240, 253816, 270392, 286968, 303544, 320119, 336696, 353270, 369848, 386423, 402998, 419574, 436150, 452726,
             469302, 485877, 502455, 519029, 535606, 552182, 568759, 585333, 601909, 618485, 635060, 651637, 668213, 684787, 701364, 717939, 734517, 751091, 767666, 784243, 800817, 817394, 833972, 850548, 867123, 883698]
    hit1 = 1


class 技能13(主动技能):
    名称 = "长虹贯日"
    所在等级 = 60
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 25
    MP = [250, 1000]
    无色消耗 = 1
    data0 = [0, 9254, 10193, 11133, 12072, 13010, 13948, 14888, 15826, 16767, 17705, 18642, 19583, 20521, 21460, 22400, 23339, 24276, 25215, 26156, 27094, 28034, 28973, 29910, 30850,
             31788, 32728, 33667, 34604, 35543, 36484, 37423, 38361, 39302, 40239, 41177, 42117, 43056, 43996, 44934, 45873, 46813, 47752, 48690, 49631, 50568, 51506, 52446, 53386, 54325, 55264]
    hit0 = 1
    data1 = [0, 21595, 23784, 25976, 28169, 30358, 32548, 34738, 36931, 39121, 41313, 43504, 45694, 47886, 50076, 52266, 54457, 56649, 58840, 61031, 63222, 65412, 67603, 69796, 71986, 74176,
             76365, 78559, 80748, 82941, 85130, 87320, 89513, 91703, 93894, 96083, 98276, 100467, 102657, 104849, 107038, 109230, 111422, 113612, 115805, 117994, 120185, 122375, 124568, 126759, 128947]
    hit1 = 1
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    def 装备护石(self, char):
        self.hit0 = 0
        self.power1 = 1.89
        self.CDR *= 0.9


class 技能14(主动技能):
    名称 = "穿云裂地斩"
    所在等级 = 70
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 50
    MP = [600, 1480]
    无色消耗 = 2
    data0 = [0, 59557, 65601, 71640, 77684, 83725, 89768, 95810, 101852, 107895, 113938, 119979, 126021, 132064, 138104, 144148, 150189, 156233, 162272, 168316, 174359, 180400, 186444, 192484, 198528, 204571,
             210612, 216654, 222697, 228738, 234781, 240822, 246864, 252907, 258948, 264992, 271032, 277076, 283119, 289160, 295202, 301244, 307287, 313330, 319370, 325414, 331457, 337497, 343540, 349582, 355625]
    hit0 = 1
    data1 = [0, 53283, 58691, 64096, 69502, 74905, 80312, 85718, 91123, 96529, 101936, 107340, 112748, 118155, 123558, 128965, 134369, 139776, 145181, 150587, 155993, 161398, 166806, 172210, 177616, 183021,
             188427, 193833, 199239, 204644, 210050, 215454, 220860, 226268, 231673, 237079, 242485, 247890, 253296, 258702, 264106, 269513, 274917, 280325, 285730, 291136, 296543, 301947, 307354, 312757, 318164]
    hit1 = 0
    TP成长 = 0.1
    TP上限 = 5

    是否有护石 = 1

    形态 = ["直击", "冲击"]

    def 形态变更(self, 形态, char: Character):
        if 形态 == '' and len(self.形态) > 0:
            形态 = self.形态[0]
        if 形态 == "直击":
            self.hit0 = 1
            self.hit1 = 0
        if 形态 == "冲击":
            self.hit0 = 0
            self.hit1 = 1

    def 装备护石(self, char):
        self.倍率 *= 1.30


class 技能15(主动技能):
    名称 = "破灭轮回刺"
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 40
    MP = [580, 4500]
    无色消耗 = 3
    data0 = [0, 7715, 8498, 9283, 10064, 10848, 11630, 12413, 13197, 13978, 14761, 15545, 16327, 17111, 17892, 18676, 19460, 20241, 21025, 21809, 22590, 23375, 24155, 24938, 25723,
             26504, 27287, 28072, 28853, 29636, 30420, 31202, 31986, 32769, 33550, 34334, 35117, 35899, 36682, 37465, 38249, 39031, 39814, 40598, 41378, 42164, 42947, 43727, 44512, 45294, 46076]
    hit0 = 2
    data1 = [0, 61736, 67998, 74262, 80526, 86788, 93051, 99315, 105577, 111840, 118102, 124366, 130629, 136891, 143156, 149419, 155682, 161945, 168208, 174470, 180734, 186996, 193259, 199524, 205786, 212050,
             218313, 224575, 230839, 237101, 243364, 249627, 255890, 262154, 268418, 274680, 280943, 287207, 293469, 299732, 305998, 312260, 318523, 324786, 331049, 337312, 343575, 349838, 356101, 362364, 368628]
    hit1 = 1

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1.33


class 技能16(被动技能):
    名称 = '战神之力'
    所在等级 = 75
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.23 + 0.02 * self.等级, 5)


class 技能17(主动技能):
    名称 = "断魂裂岩斩"
    所在等级 = 80
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 45
    MP = [800, 6000]
    无色消耗 = 5
    data0 = [0, 66337, 73066, 79797, 86528, 93256, 99988, 106718, 113447, 120178, 126907, 133639, 140369, 147098, 153829, 160557, 167288, 174019, 180747, 187478, 194208, 200937, 207669, 214399, 221128, 227858,
             234588, 241318, 248048, 254779, 261507, 268239, 274969, 281698, 288428, 295158, 301888, 308620, 315349, 322079, 328808, 335539, 342270, 348998, 355729, 362456, 369187, 375920, 382649, 389379, 396108]
    hit0 = 1
    data1 = [0, 1657, 1826, 1994, 2161, 2330, 2499, 2667, 2835, 3004, 3170, 3339, 3506, 3678, 3844, 4012, 4181, 4349, 4516, 4685, 4854, 5022, 5191, 5358, 5527,
             5695, 5863, 6032, 6201, 6369, 6537, 6703, 6874, 7040, 7208, 7378, 7545, 7714, 7882, 8050, 8218, 8388, 8555, 8724, 8892, 9061, 9228, 9395, 9566, 9733, 9903]
    hit1 = 10

    是否有护石 = 1

    def 装备护石(self, char):
        self.倍率 *= 1.35


class 技能18(主动技能):
    名称 = "血战天狱"
    所在等级 = 85
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 180
    MP = [2500, 5000]
    无色消耗 = 10
    data0 = [0, 27780, 34222, 40664, 47105, 53547, 59990, 66431, 72874, 79315, 85758, 92198, 98641, 105083, 111525, 117967, 124409, 130850, 137293, 143734, 150177, 156618, 163060, 169500, 175943, 182384,
             188827, 195269, 201711, 208153, 214594, 221036, 227479, 233920, 240363, 246807, 253248, 259691, 266131, 272574, 279016, 285458, 291900, 298342, 304783, 311226, 317667, 324110, 330551, 336994, 343435]
    hit0 = 4
    data1 = [0, 111123, 136890, 162659, 188426, 214193, 239960, 265728, 291496, 317263, 343032, 368799, 394570, 420336, 446103, 471872, 497639, 523406, 549175, 574942, 600710, 626477, 652244, 678014, 703781, 729549,
             755317, 781084, 806852, 832618, 858388, 884155, 909922, 935691, 961458, 987228, 1012995, 1038764, 1064530, 1090297, 1116064, 1141833, 1167600, 1193368, 1219136, 1244902, 1270673, 1296440, 1322208, 1347976, 1373744]
    hit1 = 1


class 技能19(主动技能):
    名称 = "镇狱裂地枪"
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40
    CD = 60
    MP = [960, 7200]
    无色消耗 = 7
    data0 = [0, 52709, 58058, 63405, 68753, 74102, 79448, 84796, 90144, 95492, 100839, 106186, 111535, 116881, 122229, 127577, 132924, 138272, 143620, 148968, 154315, 159662, 165011, 170358, 175706, 181051,
             186400, 191748, 197095, 202444, 207791, 213138, 218486, 223834, 229182, 234530, 239877, 245223, 250571, 255920, 261266, 266614, 271961, 277310, 282658, 288005, 293353, 298699, 304047, 309397, 314742]
    hit0 = 1
    data1 = [0, 122994, 135470, 147949, 160426, 172905, 185382, 197860, 210337, 222815, 235292, 247771, 260248, 272727, 285203, 297680, 310160, 322636, 335115, 347592, 360069, 372548, 385026, 397502, 409981,
             422458, 434938, 447414, 459891, 472370, 484846, 497325, 509803, 522280, 534758, 547236, 559712, 572192, 584669, 597146, 609624, 622103, 634580, 647058, 659535, 672013, 684490, 696968, 709446, 721923, 734402]
    hit1 = 1


class 技能20(被动技能):
    名称 = '灭天之魂'
    所在等级 = 95
    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能21(主动技能):
    名称 = "天劫·斗灭乾坤"
    所在等级 = 100
    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40
    CD = 290
    MP = [4027, 8055]
    无色消耗 = 15
    data0 = [0, 608467, 749561, 890653, 1031748, 1172841, 1313935, 1455031, 1596124, 1737218, 1878312, 2019405, 2160500, 2301594, 2442686, 2583780, 2724876, 2865970, 3007063, 3148157, 3289250, 3430345, 3571439, 3712532, 3853628, 3994721,
             4135814, 4276908, 4418002, 4559096, 4700190, 4841284, 4982377, 5123473, 5264566, 5405660, 5546754, 5687846, 5828941, 5970035, 6111129, 6252225, 6393318, 6534410, 6675504, 6816599, 6957693, 7098786, 7239880, 7380974, 7522070]
    hit0 = 1


class classChange(Character):
    def __init__(self, equVersion=""):
        self.实际名称 = 'vanguard'
        self.名称 = '千魂·征战者'
        self.角色 = '魔枪士'
        self.角色类型 = '输出'
        self.职业 = '征战者'
        # 用来筛CP武器的
        self.武器选项 = ['战戟']
        self.输出类型选项 = ['物理百分比']
        self.防具精通属性 = ['力量']
        self.类型 = '物理百分比'
        self.武器类型 = '战戟'
        self.防具类型 = '重甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 1.80

        super().__init__(equVersion)
